FROM python:3.10

WORKDIR /file/system/

COPY . .

RUN pip install -i https://pypi.doubanio.com/simple/ fastapi pymysql uvicorn redis python-redis pyjwt

EXPOSE 8000

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
